package com.qyhl.webtv.module_news.news.union.special.detail;

import com.qyhl.webtv.commonlib.entity.news.SpecialDetailBean;
import com.qyhl.webtv.commonlib.entity.news.UnionBean;

import java.util.List;

/**
 * Created by qyhl on 2017/12/4.
 */

public interface SpecialDetailContract {
    interface SpecialDetailView {
        void setSection(List<UnionBean> beanList);

        void setError(String msg);

        void setEmpty(String msg);

        void setNetError(String msg);

        void setDatas(List<SpecialDetailBean> beanList);
    }

    interface SpecialDetailPresenter {
        void getSecitons(String sectionId);

        void getDatas(String sectionId);

        void setSection(List<UnionBean> beanList);

        void setError(int code, String msg);

        void setDatas(List<SpecialDetailBean> beanList);
    }

    interface SpecialDetailModel {
        void getSecitons(String sectionId);

        void getDatas(String sectionId);
    }
}
